# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfconf
pkgver=4.14.3
pkgrel=0
pkgdesc="Hierarchical configuration system for Xfce"
url="https://xfce.org/"
arch="all"
license="GPL-2.0-only"
options="!check" # Requires running dbus daemon.
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
makedepends="libxfce4util-dev intltool gtk-doc glib-dev dbus-dev dbus-glib-dev"
source="https://archive.xfce.org/src/xfce/xfconf/${pkgver%.*}/xfconf-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static \
		--enable-gtk-doc
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="e3add05018215cc597bb76d852903077e1fd0a21429c462116c560739eaf32167f9dddac3adb36e89b9380b87fc4b4c38d4ee9fdd5139b540268be437fc3a713  xfconf-4.14.3.tar.bz2"
